<template>
    <div>
        <el-carousel height="450px">
            <el-carousel-item v-for="item in urls" :key="item.id">
                <img :src=item.idView style="width: 100%">
            </el-carousel-item>
        </el-carousel>
    </div>
</template>

<script>
    export default {
        name: "Carousel",
        data(){
            return{
                urls: [
                    {id:0,idView:require("../assets/bgc/11.jpg")},
                    {id:1,idView:require("../assets/bgc/9.jpg")},
                    {id:2,idView:require("../assets/bgc/10.jpg")},
                ],
            }
        }
    }
</script>

<style scoped>

</style>